From: Marco Trevisan (TreviƱo) Date: Fri, 13 Sep 2019 03:17:03 +0000 (+0200) Subject: folderIcon: Remove duplicated addMenu call X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~41 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=42188b7698da83a2e43622d375c6c6f1cedf4c5c;p=gnome-shell.git folderIcon: Remove duplicated addMenu call The RenameFolderMenu is added already to its menu manager, so no need to repeat the operation. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/720 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 8571d86b9..21469d1f9 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1696,8 +1696,6 @@ var FolderIcon = class FolderIcon { this.actor.connect('destroy', () => { Main.overview.disconnect(id); }); - - this._menuManager.addMenu(this._menu); } this.actor.set_hover(true);